package org.zjx.analysis.analyze.flag;


import org.zjx.command.util.ImageUtil;
import org.zjx.window.window.IWindow;

import java.awt.*;
import java.awt.image.BufferedImage;

public class FlagsALGAnalysis extends BaseFlagAnalysis{

    public FlagsALGAnalysis(IWindow window) {
        super("傲来国", "小地图", window);
    }

    @Override
    protected Rectangle getContentArea() {
        return ImageUtil.createRect(9,35,418,310);
    }

    @Override
    protected Point getMapSize() {
        return  new Point(224,150);
    }

    @Override
    protected void initResources() {

    }

    @Override
    public Rectangle closeArea() {
        return ImageUtil.createRect(401, 8, 420, 26);
    }

    @Override
    public Rectangle getOriginBounds() {
        return ImageUtil.createRect(186, 140, 613, 458);
    }

    @Override
    public Rectangle getRefImageArea() {
        return ImageUtil.createRect(9, 180, 35, 222);
    }

    @Override
    public BufferedImage getRefImage() {
        String image = "iVBORw0KGgoAAAANSUhEUgAAABsAAAArCAYAAACJrvP4AAAHoElEQVR4Xl2YH5wjWRDHHwwEAwOBg4GFxoZAY2ChYaBhIRhYaAg0LAQHFhoGGgKBgYGFhsDAQHAwcBA4WDhYHDxce1ff33vVkzuoT/+vX/35VdV7HZrqLiKrYh7DIsRQhDg34V63LnXsv1bx/GMT3/p1fNuvY3+oYj+WcfhSxPbzIp7HJr7b/cZ0dNsyvtg1wjc8O9mzcV/HcHrq4jC0sd+1Alosg5QDtP5c6Hzsm/j2o7WPW30IENIZUGHvN4/zOHZ2Xd/F+r6QAMp3SN+upC+cT2N8ex0Exg23fvxex0NbSfnldRfPxy6enja6Rg4HUzAUsdnOJf2QPK3vk3ebOsna5LBr9G1omlrIJ1MO0CkLgOfDRkeeybuxM+863R/t/jDWk5eEFuPaJhvQJe8O32pFBGMDSi5DncBMAYB4Ne5qvYiCnVncm1wM7PL6oJC+PaWQAupekhe+B6QbU+6kk4jY++FiVuIJilGIAADYg/K2iIPlQx5iCB4eCetOXgKMsS/2Pnnrm3lsu7m8BgSv3vJ78kyEwGUDwTI+BAiPBgsxYcMLgIn/P+deYAoruSTsGGzf6x3z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0R+72d+YlzbNQE4V1AOKdd/2pqIt8jWeAGcg1WLkfpqIGVAKYAMxqhS2PE5R42wGQaxc16dusAOvJm4G4OBj3N9XsA4xRAJBaUq5+FNbLMg1ECyFHao53xEzzCnJIKFyK23JWjsk7BDDYiC6AFEbIARgyu28Ua8Z82bVxZrV2LY3dcwAYSp3RfL2Ja0hSDsdBhKGEAKNeWf4FFFBjIgVHA29I9l/PAl7QXewd3qOG1BEICeG08FLMgLn8eipEeRnyPa3YYCWNWssCFqETUXLhwlI87I6p+iUGRmcBjDbGe+QTRS54yBTQtM91yghidxRYuwOIhT7DUEZv1ESgXqy2yJkD4R11h2GESB1/SEAIylkKaM/H+2pxRQIj7nR4yODMgSDyZp16G4CA0fc4B4xzwomhWsvkhY2KmAlNp88EwYDA5gAruCjvU4eeqHqTFqq9JZsQcqTtYCD1QyjTKEmhej+mHSjATAPfySI0cY0YjYc8mzR3rryDVcwzZLas4/Nm0NIaj/Wu5cLbGm3LF09aVdvzuTmAKGoATeuJKhW2u47CX39f4rpp4107xFVziqfxIY5DJ3bSymi0DE2O2pexvTUGMpbYFOreUKgdBqrcJ20ajosElgubLTCALA8Q8gc4wgQgdIwaNheMHXY5bAq1MWR/ljeELHzlmXaYljdf/XooAQPo9+93AcFQcoest0PaqFtfZEhqF6TNX9oAIr6BZz+BBC38jSQKZ64beXeTxj6EoAQ4uoewlFLQBFimqGhY5nnHcGVCszDCCfZx2p9xQfimhpvBRNubVCMUKYrwTPs56vE2MZFfE+TOl2uAaFW2T7tO/Wl4eUhgvkPxHy8I11JkxUvRdkYUnuMpINxz2uMZq12WdfozwHLBSiP9ztiJudPOE0WaWXl2TSQxxVhJCGHg1D2yN9Sk/nngMctu/joYAEAAuvg/FORfqQMur7pEF/4AAAAASUVORK5CYII=";
        return ImageUtil.stringToBufferedImage(image);
    }

}
